package com.xuedongzhilian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuedongzhilian.entity.ExamQuestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 试卷题目Mapper接口
 * </p>
 *
 * @author 学动智联团队
 * @since 2025-10-14
 */
@Mapper
public interface ExamQuestionMapper extends BaseMapper<ExamQuestion> {
    /**
     * 根据试卷ID获取题目列表
     * @param paperId 试卷ID
     * @return 题目列表
     */
    List<ExamQuestion> selectByPaperId(Long paperId);
}